package com.xxd.spring.boot.demo.lihonghai;

import org.apache.ibatis.logging.LogFactory;
import org.apache.ibatis.logging.stdout.StdOutImpl;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
//@ComponentScan(resourcePattern="*",basePackages = {"com.xxd.**"})
@MapperScan("com.xxd.spring.boot.demo.zhuhongbing.mapper")
public class Application {

	public static void main(String[] args) {
		LogFactory.useCustomLogging(StdOutImpl.class);
		SpringApplication.run(Application.class, args);
	}
}
